<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.4"/>
<title>gbmath: gbmath Namespace Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.jpg"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">gbmath
   &#160;<span id="projectnumber">v0.051</span>
   </div>
   <div id="projectbrief">c++ math library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.4 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li class="current"><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="namespaces.html"><span>Namespace&#160;List</span></a></li>
      <li><a href="namespacemembers.html"><span>Namespace&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#namespaces">Namespaces</a> &#124;
<a href="#nested-classes">Classes</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">gbmath Namespace Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>math operations and structures .  
<a href="#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespacegbmath_1_1color__const"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath_1_1color__const.html">color_const</a></td></tr>
<tr class="memdesc:namespacegbmath_1_1color__const"><td class="mdescLeft">&#160;</td><td class="mdescRight">color constants <br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1axies__e.html">axies_e</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">axies data enum x y z  <a href="structgbmath_1_1axies__e.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1aabb.html">aabb</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Axis Aligned Bounding Box by min and max points.  <a href="classgbmath_1_1aabb.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1axies__angle.html">axies_angle</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">The axis of rotation and angle.  <a href="structgbmath_1_1axies__angle.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1cilinder.html">cilinder</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Class points on the cylinder base center coordinates and radius.  <a href="classgbmath_1_1cilinder.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_circle.html">Circle</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">circle in two-dimensional space  <a href="classgbmath_1_1_circle.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1clip__values.html">clip_values</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1color3__24.html">color3_24</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Three-standard color byte.  <a href="structgbmath_1_1color3__24.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_color3f.html">Color3f</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Three-standard color float.  <a href="classgbmath_1_1_color3f.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1color4.html">color4</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">template <a class="el" href="structgbmath_1_1color4.html" title="template color4 ">color4</a>  <a href="structgbmath_1_1color4.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1color4__32.html">color4_32</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Standard four-color int.  <a href="structgbmath_1_1color4__32.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1color4f.html">color4f</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Standard four-color float .  <a href="structgbmath_1_1color4f.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1color__mono16b__s.html">color_mono16b_s</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Mononhromnoe value 2 bytes .  <a href="structgbmath_1_1color__mono16b__s.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1dependence__on__function.html">dependence_on_function</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">mathematical dependence of the function  <a href="structgbmath_1_1dependence__on__function.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1euler__angles.html">euler_angles</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ehler angles. Angles of rotation along all three axes.  <a href="classgbmath_1_1euler__angles.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1eyedata.html">eyedata</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">vectors of observations..  <a href="structgbmath_1_1eyedata.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1frustum.html">frustum</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">frustum. Standard frustum  <a href="classgbmath_1_1frustum.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_g_lut_application.html">GLutApplication</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1line2d.html">line2d</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Line in 2d by two points.  <a href="classgbmath_1_1line2d.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1line3d.html">line3d</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Line (Direct) in the three-dimensional space by two points.  <a href="classgbmath_1_1line3d.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1mat22.html">mat22</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">matrix 2x2  <a href="structgbmath_1_1mat22.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1mat33.html">mat33</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">matrix 3x3  <a href="structgbmath_1_1mat33.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1mat44.html">mat44</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">matrix 4x4.  <a href="structgbmath_1_1mat44.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1matrix4x4__context__type__e.html">matrix4x4_context_type_e</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">The role of matrix in the context of.  <a href="structgbmath_1_1matrix4x4__context__type__e.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_matrix_stack_std.html">MatrixStackStd</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">The stack of matrices based on std::stack.  <a href="classgbmath_1_1_matrix_stack_std.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1normal2.html">normal2</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">direction / normal in 2-dimensional space. Higher level than a vector. Always normalized.  <a href="classgbmath_1_1normal2.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1normal3.html">normal3</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">direction / normal in 3-dimensional space. Higher level than a vector. Always normalized.  <a href="classgbmath_1_1normal3.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1object__color__type__e.html">object_color_type_e</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">The role of color in the scene.  <a href="structgbmath_1_1object__color__type__e.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1object__colors.html">object_colors</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1oobb.html">oobb</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">object oriented bounding box  <a href="classgbmath_1_1oobb.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1orthographic__projection__data.html">orthographic_projection_data</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">orthographic projection data  <a href="structgbmath_1_1orthographic__projection__data.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1perspective__projection__data.html">perspective_projection_data</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">This data perspective projection.  <a href="structgbmath_1_1perspective__projection__data.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1plane__s.html">plane_s</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">plane in 3d  <a href="structgbmath_1_1plane__s.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1point.html">point</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">simple point (integer).  <a href="structgbmath_1_1point.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1point2.html">point2</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">describes a point/coordinate/position in 3-dimensional space. Level higher than the vector  <a href="classgbmath_1_1point2.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1point3.html">point3</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">describes a point/coordinate/position in 3-dimensional space. Level higher than the vector  <a href="classgbmath_1_1point3.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1projector.html">projector</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">infinite spotlight on the line (point base) and corner spotlight  <a href="classgbmath_1_1projector.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_quaternion.html">Quaternion</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">standard quaternion.  <a href="classgbmath_1_1_quaternion.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1ray2d.html">ray2d</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">ray in 2d space  <a href="classgbmath_1_1ray2d.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1ray3d.html">ray3d</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">ray in 3d space  <a href="classgbmath_1_1ray3d.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1_rect.html">Rect</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="structgbmath_1_1_rectangle.html" title="integer values rectangle ">Rectangle</a> on the minimum and maximum coordinate.  <a href="classgbmath_1_1_rect.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1_rectangle.html">Rectangle</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">integer values rectangle  <a href="structgbmath_1_1_rectangle.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1related__coord.html">related_coord</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">The relative screen coordinates.  <a href="structgbmath_1_1related__coord.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1segment2.html">segment2</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1segment3.html">segment3</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1size2d.html">size2d</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">2-dimensional size.  <a href="structgbmath_1_1size2d.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1size3d.html">size3d</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">3-dimensional size.  <a href="structgbmath_1_1size3d.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1sphere.html">sphere</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">The scope of the center point and radius. She Bounding sphere.  <a href="classgbmath_1_1sphere.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1_transform_data2.html">TransformData2</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assembling the transformation (scaling + rotation (axis and angle) + Position)  <a href="structgbmath_1_1_transform_data2.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1_transform_data.html">TransformData</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">:  <a href="structgbmath_1_1_transform_data.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1triangle.html">triangle</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Triangle by three points.  <a href="classgbmath_1_1triangle.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1triangle__2d.html">triangle_2d</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Triangle by three points.  <a href="classgbmath_1_1triangle__2d.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec2.html">vec2</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">2d-base vector. Corrected by operators epislon  <a href="structgbmath_1_1vec2.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec3.html">vec3</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">3d-base vector. Corrected by operators epislon  <a href="structgbmath_1_1vec3.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vec4.html">vec4</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">4d-base vector. Corrected by operators epislon  <a href="structgbmath_1_1vec4.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structgbmath_1_1vector__context__type__e.html">vector_context_type_e</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Role of vector in the context of.  <a href="structgbmath_1_1vector__context__type__e.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ad73cf6b0a8f2b7d9b6d5156f515f132a"><td class="memItemLeft" align="right" valign="top">typedef unsigned char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#ad73cf6b0a8f2b7d9b6d5156f515f132a">byte_t</a></td></tr>
<tr class="separator:ad73cf6b0a8f2b7d9b6d5156f515f132a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5689a50398e7eff421ef1ac56337906c"><td class="memItemLeft" align="right" valign="top">typedef uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#a5689a50398e7eff421ef1ac56337906c">color_mono_8b_t</a></td></tr>
<tr class="memdesc:a5689a50398e7eff421ef1ac56337906c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Mononhromnoe value 1 byte .  <a href="#a5689a50398e7eff421ef1ac56337906c">More...</a><br/></td></tr>
<tr class="separator:a5689a50398e7eff421ef1ac56337906c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:a52378c6698d1142d3539c0424773a59e"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#a52378c6698d1142d3539c0424773a59e">obj_contains_e</a> { <a class="el" href="namespacegbmath.html#a52378c6698d1142d3539c0424773a59eab2bc72120069d6a31f80a16a621e4e39">SC_NOOVERLAP</a>, 
<a class="el" href="namespacegbmath.html#a52378c6698d1142d3539c0424773a59ea5aa9a335d04365a4e90473e64c7a632f">SC_CONTAINSFULLY</a>, 
<a class="el" href="namespacegbmath.html#a52378c6698d1142d3539c0424773a59ea2e40db5041883c0d1eb081c798f462d9">SC_CONTAINSPARTIALLY</a>
 }</td></tr>
<tr class="memdesc:a52378c6698d1142d3539c0424773a59e"><td class="mdescLeft">&#160;</td><td class="mdescRight">description of spatial objects crossing  <a href="namespacegbmath.html#a52378c6698d1142d3539c0424773a59e">More...</a><br/></td></tr>
<tr class="separator:a52378c6698d1142d3539c0424773a59e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:adde6fcae4674b62b13d98835ab644ff5"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#adde6fcae4674b62b13d98835ab644ff5">make_color_argb</a> (<a class="el" href="namespacegbmath.html#ad73cf6b0a8f2b7d9b6d5156f515f132a">byte_t</a> a, <a class="el" href="namespacegbmath.html#ad73cf6b0a8f2b7d9b6d5156f515f132a">byte_t</a> r, <a class="el" href="namespacegbmath.html#ad73cf6b0a8f2b7d9b6d5156f515f132a">byte_t</a> g, <a class="el" href="namespacegbmath.html#ad73cf6b0a8f2b7d9b6d5156f515f132a">byte_t</a> b)</td></tr>
<tr class="memdesc:adde6fcae4674b62b13d98835ab644ff5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Building a color-by-byte. Alpha One.  <a href="#adde6fcae4674b62b13d98835ab644ff5">More...</a><br/></td></tr>
<tr class="separator:adde6fcae4674b62b13d98835ab644ff5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e70d560d8a1eb297da7c8b457e4ecf8"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#a1e70d560d8a1eb297da7c8b457e4ecf8">make_color_rgba</a> (<a class="el" href="namespacegbmath.html#ad73cf6b0a8f2b7d9b6d5156f515f132a">byte_t</a> r, <a class="el" href="namespacegbmath.html#ad73cf6b0a8f2b7d9b6d5156f515f132a">byte_t</a> g, <a class="el" href="namespacegbmath.html#ad73cf6b0a8f2b7d9b6d5156f515f132a">byte_t</a> b, <a class="el" href="namespacegbmath.html#ad73cf6b0a8f2b7d9b6d5156f515f132a">byte_t</a> a)</td></tr>
<tr class="memdesc:a1e70d560d8a1eb297da7c8b457e4ecf8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Building a color-by-byte. Alfa last.  <a href="#a1e70d560d8a1eb297da7c8b457e4ecf8">More...</a><br/></td></tr>
<tr class="separator:a1e70d560d8a1eb297da7c8b457e4ecf8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a090e1dac80cfc9de247cb2232a8d53ee"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#a090e1dac80cfc9de247cb2232a8d53ee">make_rgba</a> (float r, float g, float b, float a)</td></tr>
<tr class="memdesc:a090e1dac80cfc9de247cb2232a8d53ee"><td class="mdescLeft">&#160;</td><td class="mdescRight">The construction of an integer-valued color on components float (0.0f ... 1.0f)  <a href="#a090e1dac80cfc9de247cb2232a8d53ee">More...</a><br/></td></tr>
<tr class="separator:a090e1dac80cfc9de247cb2232a8d53ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a86348fe401e57ebc7d1cb88ae56d87d2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#a86348fe401e57ebc7d1cb88ae56d87d2">colorSwapRG</a> (unsigned int &amp;color)</td></tr>
<tr class="memdesc:a86348fe401e57ebc7d1cb88ae56d87d2"><td class="mdescLeft">&#160;</td><td class="mdescRight">exchange of components R и G .  <a href="#a86348fe401e57ebc7d1cb88ae56d87d2">More...</a><br/></td></tr>
<tr class="separator:a86348fe401e57ebc7d1cb88ae56d87d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a051fc4a9302ce044eaed38596a16ed0c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#a051fc4a9302ce044eaed38596a16ed0c">colorSwapRB</a> (unsigned int &amp;color)</td></tr>
<tr class="memdesc:a051fc4a9302ce044eaed38596a16ed0c"><td class="mdescLeft">&#160;</td><td class="mdescRight">exchange of components R и B .  <a href="#a051fc4a9302ce044eaed38596a16ed0c">More...</a><br/></td></tr>
<tr class="separator:a051fc4a9302ce044eaed38596a16ed0c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a14a6ce40d9de3b9cc4168769a4007667"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#a14a6ce40d9de3b9cc4168769a4007667">colorSwapGB</a> (unsigned int &amp;color)</td></tr>
<tr class="memdesc:a14a6ce40d9de3b9cc4168769a4007667"><td class="mdescLeft">&#160;</td><td class="mdescRight">exchange of componentsG и B .  <a href="#a14a6ce40d9de3b9cc4168769a4007667">More...</a><br/></td></tr>
<tr class="separator:a14a6ce40d9de3b9cc4168769a4007667"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abadfca65c741ff7cbfec5a354f13c9f3"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#abadfca65c741ff7cbfec5a354f13c9f3">rgba_to_argb</a> (unsigned int val)</td></tr>
<tr class="memdesc:abadfca65c741ff7cbfec5a354f13c9f3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converting 4-byte RGBA color order in the order ARGB.  <a href="#abadfca65c741ff7cbfec5a354f13c9f3">More...</a><br/></td></tr>
<tr class="separator:abadfca65c741ff7cbfec5a354f13c9f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abbb31a98774b47cf762d3080d31ebacf"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#abbb31a98774b47cf762d3080d31ebacf">argb_to_rgba</a> (unsigned int val)</td></tr>
<tr class="memdesc:abbb31a98774b47cf762d3080d31ebacf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converting 4-byte order ARGB color in order RGBA.  <a href="#abbb31a98774b47cf762d3080d31ebacf">More...</a><br/></td></tr>
<tr class="separator:abbb31a98774b47cf762d3080d31ebacf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab8f1f7e8def74f47797bb70d8dffdb1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacegbmath.html#ad73cf6b0a8f2b7d9b6d5156f515f132a">byte_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#aab8f1f7e8def74f47797bb70d8dffdb1">colorExtractA</a> (unsigned int color)</td></tr>
<tr class="separator:aab8f1f7e8def74f47797bb70d8dffdb1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade6c81511566ea396750bf66c30e5798"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacegbmath.html#ad73cf6b0a8f2b7d9b6d5156f515f132a">byte_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#ade6c81511566ea396750bf66c30e5798">colorExtractR</a> (unsigned int color)</td></tr>
<tr class="separator:ade6c81511566ea396750bf66c30e5798"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a383d9596a5a819945f767301380f32c4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacegbmath.html#ad73cf6b0a8f2b7d9b6d5156f515f132a">byte_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#a383d9596a5a819945f767301380f32c4">colorExtractG</a> (unsigned int color)</td></tr>
<tr class="separator:a383d9596a5a819945f767301380f32c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5955f8a061aaa544c84d602d78f8e4ca"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacegbmath.html#ad73cf6b0a8f2b7d9b6d5156f515f132a">byte_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#a5955f8a061aaa544c84d602d78f8e4ca">colorExtractB</a> (unsigned int color)</td></tr>
<tr class="separator:a5955f8a061aaa544c84d602d78f8e4ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab00be5c4d690a506a8d1bf9f5adf2961"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#ab00be5c4d690a506a8d1bf9f5adf2961">colorExtractAf</a> (unsigned int color)</td></tr>
<tr class="separator:ab00be5c4d690a506a8d1bf9f5adf2961"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a466fe09e04657cfa09f9f22268fc3b67"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#a466fe09e04657cfa09f9f22268fc3b67">colorExtractRf</a> (unsigned int color)</td></tr>
<tr class="separator:a466fe09e04657cfa09f9f22268fc3b67"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a82814283317292d01794d61e4fb32bab"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#a82814283317292d01794d61e4fb32bab">colorExtractGf</a> (unsigned int color)</td></tr>
<tr class="separator:a82814283317292d01794d61e4fb32bab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb888739df93952d70b9d9b25cd7de96"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#adb888739df93952d70b9d9b25cd7de96">colorExtractBf</a> (unsigned int color)</td></tr>
<tr class="separator:adb888739df93952d70b9d9b25cd7de96"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a22d8d4b65f5d15cda17e111973024568"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#a22d8d4b65f5d15cda17e111973024568">colorSetA</a> (unsigned int &amp;col, <a class="el" href="namespacegbmath.html#ad73cf6b0a8f2b7d9b6d5156f515f132a">byte_t</a> a)</td></tr>
<tr class="separator:a22d8d4b65f5d15cda17e111973024568"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc2f073f0400b3b83e286fb32abd84b1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#acc2f073f0400b3b83e286fb32abd84b1">colorSetR</a> (unsigned int &amp;col, <a class="el" href="namespacegbmath.html#ad73cf6b0a8f2b7d9b6d5156f515f132a">byte_t</a> r)</td></tr>
<tr class="separator:acc2f073f0400b3b83e286fb32abd84b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:accf72509c11100fd01de8bb3f95e7e5a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#accf72509c11100fd01de8bb3f95e7e5a">colorSetG</a> (unsigned int &amp;col, <a class="el" href="namespacegbmath.html#ad73cf6b0a8f2b7d9b6d5156f515f132a">byte_t</a> g)</td></tr>
<tr class="separator:accf72509c11100fd01de8bb3f95e7e5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63d997c76f20c4b6879cd2991c375d9e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#a63d997c76f20c4b6879cd2991c375d9e">colorSetB</a> (unsigned int &amp;col, <a class="el" href="namespacegbmath.html#ad73cf6b0a8f2b7d9b6d5156f515f132a">byte_t</a> b)</td></tr>
<tr class="separator:a63d997c76f20c4b6879cd2991c375d9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a943df2f31c8f208982bfeb0dfdb79bcd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#a943df2f31c8f208982bfeb0dfdb79bcd">colorSetAf</a> (unsigned int &amp;color, float a)</td></tr>
<tr class="separator:a943df2f31c8f208982bfeb0dfdb79bcd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a498e22cb9657c7275d83effa77dd487b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#a498e22cb9657c7275d83effa77dd487b">colorSetRf</a> (unsigned int &amp;color, float r)</td></tr>
<tr class="separator:a498e22cb9657c7275d83effa77dd487b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ace9092fff1027b38b1aff05dfe9bd308"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#ace9092fff1027b38b1aff05dfe9bd308">colorSetGf</a> (unsigned int &amp;color, float g)</td></tr>
<tr class="separator:ace9092fff1027b38b1aff05dfe9bd308"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a0a13beb72de2527e364cd39b312db3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#a5a0a13beb72de2527e364cd39b312db3">colorSetBf</a> (unsigned int &amp;color, float b)</td></tr>
<tr class="separator:a5a0a13beb72de2527e364cd39b312db3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac156a4f2083848be07c449693eb77830"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#ac156a4f2083848be07c449693eb77830">colorRgb24_SwapRG</a> (<a class="el" href="structgbmath_1_1color3__24.html">color3_24</a> &amp;color)</td></tr>
<tr class="separator:ac156a4f2083848be07c449693eb77830"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acffc53836a6f186ac1a1c4b712e2d9a7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#acffc53836a6f186ac1a1c4b712e2d9a7">colorRgb24_SwapRB</a> (<a class="el" href="structgbmath_1_1color3__24.html">color3_24</a> &amp;color)</td></tr>
<tr class="separator:acffc53836a6f186ac1a1c4b712e2d9a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2e5e11ee8e8eab42afd129f7bc63c679"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#a2e5e11ee8e8eab42afd129f7bc63c679">colorRgb24_SwapGB</a> (<a class="el" href="structgbmath_1_1color3__24.html">color3_24</a> &amp;color)</td></tr>
<tr class="separator:a2e5e11ee8e8eab42afd129f7bc63c679"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a4d6352a51c3b2c5a4ba8b543586bf6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1color3__24.html">color3_24</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#a9a4d6352a51c3b2c5a4ba8b543586bf6">color_rgb_fFrom_uicolor</a> (unsigned int color)</td></tr>
<tr class="memdesc:a9a4d6352a51c3b2c5a4ba8b543586bf6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Conversion uicolor32_t in color_rgb24_s.  <a href="#a9a4d6352a51c3b2c5a4ba8b543586bf6">More...</a><br/></td></tr>
<tr class="separator:a9a4d6352a51c3b2c5a4ba8b543586bf6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a691b9bcad0696b662869ddfea3a281b1"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#a691b9bcad0696b662869ddfea3a281b1">__IsPointInBoundingBox</a> (float x1, float y1, float x2, float y2, float px, float py)</td></tr>
<tr class="separator:a691b9bcad0696b662869ddfea3a281b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a01b6ded341ba9825990da7b1c06221b4"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#a01b6ded341ba9825990da7b1c06221b4">__LineSegmentIntersection</a> (float l1x1, float l1y1, float l1x2, float l1y2, float l2x1, float l2y1, float l2x2, float l2y2, float *m1, float *c1, float *m2, float *c2, float *intersection_X, float *intersection_Y)</td></tr>
<tr class="separator:a01b6ded341ba9825990da7b1c06221b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab6491049b7dbd6e1bdc31cb41c8660b5"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#ab6491049b7dbd6e1bdc31cb41c8660b5">random</a> ()</td></tr>
<tr class="memdesc:ab6491049b7dbd6e1bdc31cb41c8660b5"><td class="mdescLeft">&#160;</td><td class="mdescRight">random values ​​in the range ( 0.0f ... 1.0f )  <a href="#ab6491049b7dbd6e1bdc31cb41c8660b5">More...</a><br/></td></tr>
<tr class="separator:ab6491049b7dbd6e1bdc31cb41c8660b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f623b048220632d6764650e2e084e06"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#a7f623b048220632d6764650e2e084e06">random</a> (float min, float max)</td></tr>
<tr class="separator:a7f623b048220632d6764650e2e084e06"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aefe79f6a1175131aecf3149f0fec6d49"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#aefe79f6a1175131aecf3149f0fec6d49">compare</a> (float a, float b, float epsilon)</td></tr>
<tr class="separator:aefe79f6a1175131aecf3149f0fec6d49"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a30da8e56355a72f9d2565cbf89179153"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#a30da8e56355a72f9d2565cbf89179153">check</a> (float f)</td></tr>
<tr class="memdesc:a30da8e56355a72f9d2565cbf89179153"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check the value the correct value.  <a href="#a30da8e56355a72f9d2565cbf89179153">More...</a><br/></td></tr>
<tr class="separator:a30da8e56355a72f9d2565cbf89179153"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac312471790333df7fed15517524443b9"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#ac312471790333df7fed15517524443b9">check</a> (double d)</td></tr>
<tr class="memdesc:ac312471790333df7fed15517524443b9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check the value the correct value.  <a href="#ac312471790333df7fed15517524443b9">More...</a><br/></td></tr>
<tr class="separator:ac312471790333df7fed15517524443b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af7ceb382df8a74edbe983b1745229cce"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#af7ceb382df8a74edbe983b1745229cce">sqr</a> (float x)</td></tr>
<tr class="memdesc:af7ceb382df8a74edbe983b1745229cce"><td class="mdescLeft">&#160;</td><td class="mdescRight">x*x  <a href="#af7ceb382df8a74edbe983b1745229cce">More...</a><br/></td></tr>
<tr class="separator:af7ceb382df8a74edbe983b1745229cce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6770b1369e60e627d9e86b8ec68188e1"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#a6770b1369e60e627d9e86b8ec68188e1">abs</a> (float val)</td></tr>
<tr class="separator:a6770b1369e60e627d9e86b8ec68188e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a30742374d53e9b267e9efa8dc80a0a91"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:a30742374d53e9b267e9efa8dc80a0a91"><td class="memTemplItemLeft" align="right" valign="top">T&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#a30742374d53e9b267e9efa8dc80a0a91">lerp</a> (float alpha, const T &amp;v0, const T &amp;v1)  throw ()</td></tr>
<tr class="memdesc:a30742374d53e9b267e9efa8dc80a0a91"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculate the linear interpolation.  <a href="#a30742374d53e9b267e9efa8dc80a0a91">More...</a><br/></td></tr>
<tr class="separator:a30742374d53e9b267e9efa8dc80a0a91"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5292b82144444629c81be0728104e8ab"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#a5292b82144444629c81be0728104e8ab">bilerp</a> (const float a, const float b, const float c, const float d, float u, float v)</td></tr>
<tr class="memdesc:a5292b82144444629c81be0728104e8ab"><td class="mdescLeft">&#160;</td><td class="mdescRight">bilinear interpolation  <a href="#a5292b82144444629c81be0728104e8ab">More...</a><br/></td></tr>
<tr class="separator:a5292b82144444629c81be0728104e8ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a30b7c446b59840332a8e001a80316bc5"><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr class="memitem:a30b7c446b59840332a8e001a80316bc5"><td class="memTemplItemLeft" align="right" valign="top">T&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#a30b7c446b59840332a8e001a80316bc5">clamp</a> (const T &amp;v, const T &amp;l, const T &amp;u)  throw ()</td></tr>
<tr class="memdesc:a30b7c446b59840332a8e001a80316bc5"><td class="mdescLeft">&#160;</td><td class="mdescRight">reduction in the range between  <a href="#a30b7c446b59840332a8e001a80316bc5">More...</a><br/></td></tr>
<tr class="separator:a30b7c446b59840332a8e001a80316bc5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a07b847494d285fb1532c8718a6cb2fbd"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:a07b847494d285fb1532c8718a6cb2fbd"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#a07b847494d285fb1532c8718a6cb2fbd">fill</a> (T *dest, const T val, const int num)  throw ()</td></tr>
<tr class="memdesc:a07b847494d285fb1532c8718a6cb2fbd"><td class="mdescLeft">&#160;</td><td class="mdescRight">fill the buffer dest value val number num.  <a href="#a07b847494d285fb1532c8718a6cb2fbd">More...</a><br/></td></tr>
<tr class="separator:a07b847494d285fb1532c8718a6cb2fbd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae98efd1a452855c4e8c7e8ef08bab2a1"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#ae98efd1a452855c4e8c7e8ef08bab2a1">sign</a> (const float val)</td></tr>
<tr class="memdesc:ae98efd1a452855c4e8c7e8ef08bab2a1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the sign of <br/>
 x&gt;0 : 1 <br/>
 x=0 : 0 <br/>
 x&lt;0 : -1.  <a href="#ae98efd1a452855c4e8c7e8ef08bab2a1">More...</a><br/></td></tr>
<tr class="separator:ae98efd1a452855c4e8c7e8ef08bab2a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a273bd63fdf09037f17ea3ef69c037528"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#a273bd63fdf09037f17ea3ef69c037528">sign2</a> (float x)</td></tr>
<tr class="memdesc:a273bd63fdf09037f17ea3ef69c037528"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the sign of <br/>
 x&gt;0 : 1 <br/>
 x=0 : 0 <br/>
 x&lt;0 : -1.  <a href="#a273bd63fdf09037f17ea3ef69c037528">More...</a><br/></td></tr>
<tr class="separator:a273bd63fdf09037f17ea3ef69c037528"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab28d0d43c10be205a0fc2aa114241330"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#ab28d0d43c10be205a0fc2aa114241330">cartesianToSpherical</a> (float x, float y, float z, float &amp;rho, float &amp;phi, float &amp;theta)</td></tr>
<tr class="memdesc:ab28d0d43c10be205a0fc2aa114241330"><td class="mdescLeft">&#160;</td><td class="mdescRight">All angles are in radians. rho = distance from origin O to point P (i.e., length of OP) phi = angle between OP and the XZ plane theta = angle between X-axis and OP projected onto XZ plane.  <a href="#ab28d0d43c10be205a0fc2aa114241330">More...</a><br/></td></tr>
<tr class="separator:ab28d0d43c10be205a0fc2aa114241330"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a343f1f71e8a00aa022050fd353b0f84a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#a343f1f71e8a00aa022050fd353b0f84a">sphericalToCartesian</a> (float rho, float phi, float theta, float &amp;x, float &amp;y, float &amp;z)</td></tr>
<tr class="memdesc:a343f1f71e8a00aa022050fd353b0f84a"><td class="mdescLeft">&#160;</td><td class="mdescRight">All angles are in radians. rho = distance from origin O to point P (i.e., length of OP) phi = angle between OP and the XZ plane theta = angle between X-axis and OP projected onto XZ plane.  <a href="#a343f1f71e8a00aa022050fd353b0f84a">More...</a><br/></td></tr>
<tr class="separator:a343f1f71e8a00aa022050fd353b0f84a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af60fd2cd2867f18928beb9f185e7c980"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#af60fd2cd2867f18928beb9f185e7c980">smoothstep</a> (float a, float b, float x)</td></tr>
<tr class="memdesc:af60fd2cd2867f18928beb9f185e7c980"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a gradual transition of 'x' from 0 to 1 beginning at threshold 'a' and ending at threshold 'b'. References: [1] <a href="http://www.rendermanacademy.com/docs/smoothstep.htm">http://www.rendermanacademy.com/docs/smoothstep.htm</a> [2] <a href="http://www.brlcad.org/doxygen/d8/d33/noise_8c-source.html">http://www.brlcad.org/doxygen/d8/d33/noise_8c-source.html</a> [3] Natalya Tatarchuk, "Efficient High-Level Shader Development", Game Developers Conference Europe, August 2003.  <a href="#af60fd2cd2867f18928beb9f185e7c980">More...</a><br/></td></tr>
<tr class="separator:af60fd2cd2867f18928beb9f185e7c980"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b9ccbf89172906f824d9c223a458ff9"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#a4b9ccbf89172906f824d9c223a458ff9">closeEnough</a> (float f1, float f2)</td></tr>
<tr class="memdesc:a4b9ccbf89172906f824d9c223a458ff9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines whether the two floating-point values f1 and f2 are close enough together that they can be considered equal.  <a href="#a4b9ccbf89172906f824d9c223a458ff9">More...</a><br/></td></tr>
<tr class="separator:a4b9ccbf89172906f824d9c223a458ff9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b9af880500614372b44439d3d24aed9"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#a7b9af880500614372b44439d3d24aed9">is_power2</a> (int x)</td></tr>
<tr class="separator:a7b9af880500614372b44439d3d24aed9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa1127e0ed6083818b38a89c063365c74"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#aa1127e0ed6083818b38a89c063365c74">clump</a> (float value, float _min, float _max)</td></tr>
<tr class="memdesc:aa1127e0ed6083818b38a89c063365c74"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clipping values ​​in a range between minimum and maximum inclusive.  <a href="#aa1127e0ed6083818b38a89c063365c74">More...</a><br/></td></tr>
<tr class="separator:aa1127e0ed6083818b38a89c063365c74"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1d44db3ba00e7255e2ddf760df556ffd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#a1d44db3ba00e7255e2ddf760df556ffd">sincos</a> (const float a, float &amp;outSin, float &amp;outCos)</td></tr>
<tr class="memdesc:a1d44db3ba00e7255e2ddf760df556ffd"><td class="mdescLeft">&#160;</td><td class="mdescRight">sine and cosine.  <a href="#a1d44db3ba00e7255e2ddf760df556ffd">More...</a><br/></td></tr>
<tr class="separator:a1d44db3ba00e7255e2ddf760df556ffd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad7e5c294042e090b544f4c46e3694690"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#ad7e5c294042e090b544f4c46e3694690">arccot</a> (float f)</td></tr>
<tr class="memdesc:ad7e5c294042e090b544f4c46e3694690"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculate the arc cotangent.  <a href="#ad7e5c294042e090b544f4c46e3694690">More...</a><br/></td></tr>
<tr class="separator:ad7e5c294042e090b544f4c46e3694690"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae5ecfee596749b307ba5b1da2e4e703d"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#ae5ecfee596749b307ba5b1da2e4e703d">arctg</a> (float y, float x)</td></tr>
<tr class="memdesc:ae5ecfee596749b307ba5b1da2e4e703d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculate the arc tangent.  <a href="#ae5ecfee596749b307ba5b1da2e4e703d">More...</a><br/></td></tr>
<tr class="separator:ae5ecfee596749b307ba5b1da2e4e703d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a943dd559c743e425059e481a41d0e617"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#a943dd559c743e425059e481a41d0e617">safeAcos</a> (float x)</td></tr>
<tr class="memdesc:a943dd559c743e425059e481a41d0e617"><td class="mdescLeft">&#160;</td><td class="mdescRight">Same as acos(x), but if x is out of range, it is "clamped" to the nearest valid value. The value returned is in range 0...pi, the same as the standard C acos() function.  <a href="#a943dd559c743e425059e481a41d0e617">More...</a><br/></td></tr>
<tr class="separator:a943dd559c743e425059e481a41d0e617"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad2ec5e3673fe6cd0408e75e2c9c0f170"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#ad2ec5e3673fe6cd0408e75e2c9c0f170">cotan</a> (const float f)</td></tr>
<tr class="memdesc:ad2ec5e3673fe6cd0408e75e2c9c0f170"><td class="mdescLeft">&#160;</td><td class="mdescRight">cotangent  <a href="#ad2ec5e3673fe6cd0408e75e2c9c0f170">More...</a><br/></td></tr>
<tr class="separator:ad2ec5e3673fe6cd0408e75e2c9c0f170"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9e70f8fc15c2f3f164ed07448dd3b53"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#ad9e70f8fc15c2f3f164ed07448dd3b53">radiansToDegree</a> (float rad)</td></tr>
<tr class="memdesc:ad9e70f8fc15c2f3f164ed07448dd3b53"><td class="mdescLeft">&#160;</td><td class="mdescRight">Angle in radians to degrees.  <a href="#ad9e70f8fc15c2f3f164ed07448dd3b53">More...</a><br/></td></tr>
<tr class="separator:ad9e70f8fc15c2f3f164ed07448dd3b53"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab3b04e4d988b846e88d2b555bcca9540"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#ab3b04e4d988b846e88d2b555bcca9540">degreeToRadians</a> (float dgr)</td></tr>
<tr class="memdesc:ab3b04e4d988b846e88d2b555bcca9540"><td class="mdescLeft">&#160;</td><td class="mdescRight">Angle in degrees to radians.  <a href="#ab3b04e4d988b846e88d2b555bcca9540">More...</a><br/></td></tr>
<tr class="separator:ab3b04e4d988b846e88d2b555bcca9540"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb3b41ebf2f06be87644ba1cfa8487c8"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#afb3b41ebf2f06be87644ba1cfa8487c8">normalize_angle</a> (float angle)</td></tr>
<tr class="memdesc:afb3b41ebf2f06be87644ba1cfa8487c8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Normalization of the angle of rotation angle. Cast the value in the range -PI ... + PI .  <a href="#afb3b41ebf2f06be87644ba1cfa8487c8">More...</a><br/></td></tr>
<tr class="separator:afb3b41ebf2f06be87644ba1cfa8487c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a30eec791d5b4d5df94f6c11a991b8239"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#a30eec791d5b4d5df94f6c11a991b8239">lerp</a> (const float f1, const float f2, const float k)</td></tr>
<tr class="memdesc:a30eec791d5b4d5df94f6c11a991b8239"><td class="mdescLeft">&#160;</td><td class="mdescRight">Linear interpolation.  <a href="#a30eec791d5b4d5df94f6c11a991b8239">More...</a><br/></td></tr>
<tr class="separator:a30eec791d5b4d5df94f6c11a991b8239"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2835c23a3b974829144107d2e021fbac"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#a2835c23a3b974829144107d2e021fbac">round</a> (float f)</td></tr>
<tr class="memdesc:a2835c23a3b974829144107d2e021fbac"><td class="mdescLeft">&#160;</td><td class="mdescRight">rounding .  <a href="#a2835c23a3b974829144107d2e021fbac">More...</a><br/></td></tr>
<tr class="separator:a2835c23a3b974829144107d2e021fbac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a92e2579b3533ef25c04dddb004adb4f2"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#a92e2579b3533ef25c04dddb004adb4f2">max3</a> (float a, float b, float c)</td></tr>
<tr class="memdesc:a92e2579b3533ef25c04dddb004adb4f2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get an average of 3 values.  <a href="#a92e2579b3533ef25c04dddb004adb4f2">More...</a><br/></td></tr>
<tr class="separator:a92e2579b3533ef25c04dddb004adb4f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba8cda4d109bd7e51e5394a97118fdf0"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#aba8cda4d109bd7e51e5394a97118fdf0">average_arithmetic</a> (const float *pf, const unsigned int num)</td></tr>
<tr class="memdesc:aba8cda4d109bd7e51e5394a97118fdf0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute and return the average (arithmetic)  <a href="#aba8cda4d109bd7e51e5394a97118fdf0">More...</a><br/></td></tr>
<tr class="separator:aba8cda4d109bd7e51e5394a97118fdf0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a65e7295323df3c440084df0638b1e2af"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#a65e7295323df3c440084df0638b1e2af">average_geometric</a> (const float *pf, const unsigned int num)</td></tr>
<tr class="memdesc:a65e7295323df3c440084df0638b1e2af"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute and return the geometric mean.  <a href="#a65e7295323df3c440084df0638b1e2af">More...</a><br/></td></tr>
<tr class="separator:a65e7295323df3c440084df0638b1e2af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad7acbedef3d45b46710884c401ac51fd"><td class="memItemLeft" align="right" valign="top">BYTE&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#ad7acbedef3d45b46710884c401ac51fd">scale_byte</a> (BYTE val, float k)</td></tr>
<tr class="separator:ad7acbedef3d45b46710884c401ac51fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb44b722761abeebc83964ceab6ce0f4"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#aeb44b722761abeebc83964ceab6ce0f4">faster_floor</a> (const float x)</td></tr>
<tr class="separator:aeb44b722761abeebc83964ceab6ce0f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a87cb40f66df9d4de36ac2a769abf3a32"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#a87cb40f66df9d4de36ac2a769abf3a32">__dt1_IsPointInBoundingBox</a> (float x1, float y1, float x2, float y2, float px, float py)</td></tr>
<tr class="separator:a87cb40f66df9d4de36ac2a769abf3a32"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a629a1e67ad42dd4536a582f28491a13b"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#a629a1e67ad42dd4536a582f28491a13b">LineSegmentIntersection</a> (float l1x1, float l1y1, float l1x2, float l1y2, float l2x1, float l2y1, float l2x2, float l2y2, float *m1, float *c1, float *m2, float *c2, float *intersection_X, float *intersection_Y)</td></tr>
<tr class="separator:a629a1e67ad42dd4536a582f28491a13b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:acd96829ace89d35c295aac16fe50f3fc"><td class="memItemLeft" align="right" valign="top">static const float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#acd96829ace89d35c295aac16fe50f3fc">EPSILON</a> = 1.0e-6f</td></tr>
<tr class="separator:acd96829ace89d35c295aac16fe50f3fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a43466f850581872f732373ec59ea473b"><td class="memItemLeft" align="right" valign="top">static const float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#a43466f850581872f732373ec59ea473b">PI</a> = 3.1415926536f</td></tr>
<tr class="memdesc:a43466f850581872f732373ec59ea473b"><td class="mdescLeft">&#160;</td><td class="mdescRight">PI.  <a href="#a43466f850581872f732373ec59ea473b">More...</a><br/></td></tr>
<tr class="separator:a43466f850581872f732373ec59ea473b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ab4c7e160eed66713edcb1e926cc5c0"><td class="memItemLeft" align="right" valign="top">static const float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#a4ab4c7e160eed66713edcb1e926cc5c0">C1BYPI</a> = 0.3183098862f</td></tr>
<tr class="memdesc:a4ab4c7e160eed66713edcb1e926cc5c0"><td class="mdescLeft">&#160;</td><td class="mdescRight">1/PI  <a href="#a4ab4c7e160eed66713edcb1e926cc5c0">More...</a><br/></td></tr>
<tr class="separator:a4ab4c7e160eed66713edcb1e926cc5c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad2970432d290ae0239dcddcf1dcbf4c0"><td class="memItemLeft" align="right" valign="top">static const float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#ad2970432d290ae0239dcddcf1dcbf4c0">PI2</a> = 6.283185307f</td></tr>
<tr class="memdesc:ad2970432d290ae0239dcddcf1dcbf4c0"><td class="mdescLeft">&#160;</td><td class="mdescRight">2*PI  <a href="#ad2970432d290ae0239dcddcf1dcbf4c0">More...</a><br/></td></tr>
<tr class="separator:ad2970432d290ae0239dcddcf1dcbf4c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b75f341c66121f5ebf825f274333fc4"><td class="memItemLeft" align="right" valign="top">static const float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#a3b75f341c66121f5ebf825f274333fc4">PI_DIV_2</a> = 1.570796326f</td></tr>
<tr class="memdesc:a3b75f341c66121f5ebf825f274333fc4"><td class="mdescLeft">&#160;</td><td class="mdescRight">PI/2.  <a href="#a3b75f341c66121f5ebf825f274333fc4">More...</a><br/></td></tr>
<tr class="separator:a3b75f341c66121f5ebf825f274333fc4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aedc35259a3d4f376f24750ee0a51c61a"><td class="memItemLeft" align="right" valign="top">static const float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#aedc35259a3d4f376f24750ee0a51c61a">PI_DIV_4</a> = 0.785398163f</td></tr>
<tr class="memdesc:aedc35259a3d4f376f24750ee0a51c61a"><td class="mdescLeft">&#160;</td><td class="mdescRight">PI/4.  <a href="#aedc35259a3d4f376f24750ee0a51c61a">More...</a><br/></td></tr>
<tr class="separator:aedc35259a3d4f376f24750ee0a51c61a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af049eac96bf93475d56105dd63dd789c"><td class="memItemLeft" align="right" valign="top">static const float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#af049eac96bf93475d56105dd63dd789c">PI_DIV_6</a> = 0.523598776f</td></tr>
<tr class="memdesc:af049eac96bf93475d56105dd63dd789c"><td class="mdescLeft">&#160;</td><td class="mdescRight">PI/6.  <a href="#af049eac96bf93475d56105dd63dd789c">More...</a><br/></td></tr>
<tr class="separator:af049eac96bf93475d56105dd63dd789c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71b17b4c70993b257eb2339075bb576c"><td class="memItemLeft" align="right" valign="top">static const float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#a71b17b4c70993b257eb2339075bb576c">PI_DIV_180</a> = 0.017453292f</td></tr>
<tr class="memdesc:a71b17b4c70993b257eb2339075bb576c"><td class="mdescLeft">&#160;</td><td class="mdescRight">PI/180.  <a href="#a71b17b4c70993b257eb2339075bb576c">More...</a><br/></td></tr>
<tr class="separator:a71b17b4c70993b257eb2339075bb576c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab2ea19feab7a4493f7688629ec6292a2"><td class="memItemLeft" align="right" valign="top">static const float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#ab2ea19feab7a4493f7688629ec6292a2">C180DIVPI</a> = 57.29577951f</td></tr>
<tr class="memdesc:ab2ea19feab7a4493f7688629ec6292a2"><td class="mdescLeft">&#160;</td><td class="mdescRight">180/PI  <a href="#ab2ea19feab7a4493f7688629ec6292a2">More...</a><br/></td></tr>
<tr class="separator:ab2ea19feab7a4493f7688629ec6292a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab23d1bfb275d0216a2569e298013efcd"><td class="memItemLeft" align="right" valign="top">static const float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#ab23d1bfb275d0216a2569e298013efcd">C3PIDIV4</a> = 2.35619449f</td></tr>
<tr class="memdesc:ab23d1bfb275d0216a2569e298013efcd"><td class="mdescLeft">&#160;</td><td class="mdescRight">3/4 PI  <a href="#ab23d1bfb275d0216a2569e298013efcd">More...</a><br/></td></tr>
<tr class="separator:ab23d1bfb275d0216a2569e298013efcd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb4f7d70c4c59d84c2e0ad6c8ad0912b"><td class="memItemLeft" align="right" valign="top">static const float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#adb4f7d70c4c59d84c2e0ad6c8ad0912b">PI2_INV</a> = 0.159154943f</td></tr>
<tr class="memdesc:adb4f7d70c4c59d84c2e0ad6c8ad0912b"><td class="mdescLeft">&#160;</td><td class="mdescRight">1/(2PI)  <a href="#adb4f7d70c4c59d84c2e0ad6c8ad0912b">More...</a><br/></td></tr>
<tr class="separator:adb4f7d70c4c59d84c2e0ad6c8ad0912b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e6155dbbdc5d98f1519aa2ee81363f2"><td class="memItemLeft" align="right" valign="top">static const float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#a7e6155dbbdc5d98f1519aa2ee81363f2">CINV360</a> = 0.002777778f</td></tr>
<tr class="memdesc:a7e6155dbbdc5d98f1519aa2ee81363f2"><td class="mdescLeft">&#160;</td><td class="mdescRight">1/360  <a href="#a7e6155dbbdc5d98f1519aa2ee81363f2">More...</a><br/></td></tr>
<tr class="separator:a7e6155dbbdc5d98f1519aa2ee81363f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8716514a61081ed9d35092a6f9da7490"><td class="memItemLeft" align="right" valign="top">static const float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#a8716514a61081ed9d35092a6f9da7490">C180</a> = 180.0f</td></tr>
<tr class="separator:a8716514a61081ed9d35092a6f9da7490"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a19686b8454a2938e098035b0f28d5ca5"><td class="memItemLeft" align="right" valign="top">static const float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#a19686b8454a2938e098035b0f28d5ca5">C360</a> = 360.0f</td></tr>
<tr class="separator:a19686b8454a2938e098035b0f28d5ca5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2dd89831f203f41d946f24ee98b0d9ef"><td class="memItemLeft" align="right" valign="top">static const float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#a2dd89831f203f41d946f24ee98b0d9ef">HALF</a> = 0.5f</td></tr>
<tr class="separator:a2dd89831f203f41d946f24ee98b0d9ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7111d442eef6cf58f0b5e0467c68509b"><td class="memItemLeft" align="right" valign="top">static const float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#a7111d442eef6cf58f0b5e0467c68509b">TWO</a> = 2.0f</td></tr>
<tr class="separator:a7111d442eef6cf58f0b5e0467c68509b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aacaa90ffca3501aafe00e049f758bb44"><td class="memItemLeft" align="right" valign="top">static const float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#aacaa90ffca3501aafe00e049f758bb44">LN10</a> = 2.302585093f</td></tr>
<tr class="separator:aacaa90ffca3501aafe00e049f758bb44"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad4861e5ec3579f2289e6a102275538c8"><td class="memItemLeft" align="right" valign="top">static const float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#ad4861e5ec3579f2289e6a102275538c8">SQRT_2</a> = 1.4142135624f</td></tr>
<tr class="memdesc:ad4861e5ec3579f2289e6a102275538c8"><td class="mdescLeft">&#160;</td><td class="mdescRight">sqrt(2)  <a href="#ad4861e5ec3579f2289e6a102275538c8">More...</a><br/></td></tr>
<tr class="separator:ad4861e5ec3579f2289e6a102275538c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd14adf6dc63fdb829704c25a72fe72b"><td class="memItemLeft" align="right" valign="top">static const float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#afd14adf6dc63fdb829704c25a72fe72b">SQRT_HALF</a> = 0.7071067812f</td></tr>
<tr class="memdesc:afd14adf6dc63fdb829704c25a72fe72b"><td class="mdescLeft">&#160;</td><td class="mdescRight">sqrt(1/2)  <a href="#afd14adf6dc63fdb829704c25a72fe72b">More...</a><br/></td></tr>
<tr class="separator:afd14adf6dc63fdb829704c25a72fe72b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a591ce690a6eeb4e4d9f1301470edf3c1"><td class="memItemLeft" align="right" valign="top">static const float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegbmath.html#a591ce690a6eeb4e4d9f1301470edf3c1">E</a> = 2.718281828459f</td></tr>
<tr class="memdesc:a591ce690a6eeb4e4d9f1301470edf3c1"><td class="mdescLeft">&#160;</td><td class="mdescRight">e  <a href="#a591ce690a6eeb4e4d9f1301470edf3c1">More...</a><br/></td></tr>
<tr class="separator:a591ce690a6eeb4e4d9f1301470edf3c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>math operations and structures . </p>
</div><h2 class="groupheader">Typedef Documentation</h2>
<a class="anchor" id="ad73cf6b0a8f2b7d9b6d5156f515f132a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef unsigned char <a class="el" href="namespacegbmath.html#ad73cf6b0a8f2b7d9b6d5156f515f132a">gbmath::byte_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="__gbmath_8h_source.html#l00054">54</a> of file <a class="el" href="__gbmath_8h_source.html">_gbmath.h</a>.</p>

</div>
</div>
<a class="anchor" id="a5689a50398e7eff421ef1ac56337906c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef uint8_t <a class="el" href="namespacegbmath.html#a5689a50398e7eff421ef1ac56337906c">gbmath::color_mono_8b_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Mononhromnoe value 1 byte . </p>

<p>Definition at line <a class="el" href="color__typedef_8h_source.html#l00022">22</a> of file <a class="el" href="color__typedef_8h_source.html">color_typedef.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a class="anchor" id="a52378c6698d1142d3539c0424773a59e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="namespacegbmath.html#a52378c6698d1142d3539c0424773a59e">gbmath::obj_contains_e</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>description of spatial objects crossing </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="a52378c6698d1142d3539c0424773a59eab2bc72120069d6a31f80a16a621e4e39"></a>SC_NOOVERLAP</em>&nbsp;</td><td class="fielddoc">
<p>object does not apply to another object </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a52378c6698d1142d3539c0424773a59ea5aa9a335d04365a4e90473e64c7a632f"></a>SC_CONTAINSFULLY</em>&nbsp;</td><td class="fielddoc">
<p>the object is fully located in another </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a52378c6698d1142d3539c0424773a59ea2e40db5041883c0d1eb081c798f462d9"></a>SC_CONTAINSPARTIALLY</em>&nbsp;</td><td class="fielddoc">
<p>object is partially contained in the other </p>
</td></tr>
</table>

<p>Definition at line <a class="el" href="obj__contains__e_8h_source.html#l00020">20</a> of file <a class="el" href="obj__contains__e_8h_source.html">obj_contains_e.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a87cb40f66df9d4de36ac2a769abf3a32"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static int gbmath::__dt1_IsPointInBoundingBox </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>y1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>x2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>y2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>px</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>py</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="segment2_8cpp_source.html#l00011">11</a> of file <a class="el" href="segment2_8cpp_source.html">segment2.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a691b9bcad0696b662869ddfea3a281b1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int gbmath::__IsPointInBoundingBox </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>y1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>x2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>y2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>px</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>py</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="ray2d_8cpp_source.html#l00012">12</a> of file <a class="el" href="ray2d_8cpp_source.html">ray2d.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a01b6ded341ba9825990da7b1c06221b4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int gbmath::__LineSegmentIntersection </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>l1x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>l1y1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>l1x2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>l1y2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>l2x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>l2y1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>l2x2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>l2y2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float *&#160;</td>
          <td class="paramname"><em>m1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float *&#160;</td>
          <td class="paramname"><em>c1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float *&#160;</td>
          <td class="paramname"><em>m2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float *&#160;</td>
          <td class="paramname"><em>c2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float *&#160;</td>
          <td class="paramname"><em>intersection_X</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float *&#160;</td>
          <td class="paramname"><em>intersection_Y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="ray2d_8cpp_source.html#l00051">51</a> of file <a class="el" href="ray2d_8cpp_source.html">ray2d.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a6770b1369e60e627d9e86b8ec68188e1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float gbmath::abs </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>val</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="scalar_8h_source.html#l00057">57</a> of file <a class="el" href="scalar_8h_source.html">scalar.h</a>.</p>

</div>
</div>
<a class="anchor" id="ad7e5c294042e090b544f4c46e3694690"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float gbmath::arccot </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>f</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Calculate the arc cotangent. </p>

<p>Definition at line <a class="el" href="scalar_8h_source.html#l00226">226</a> of file <a class="el" href="scalar_8h_source.html">scalar.h</a>.</p>

</div>
</div>
<a class="anchor" id="ae5ecfee596749b307ba5b1da2e4e703d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float gbmath::arctg </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>x</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Calculate the arc tangent. </p>

<p>Definition at line <a class="el" href="scalar_8h_source.html#l00232">232</a> of file <a class="el" href="scalar_8h_source.html">scalar.h</a>.</p>

</div>
</div>
<a class="anchor" id="abbb31a98774b47cf762d3080d31ebacf"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int gbmath::argb_to_rgba </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>val</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Converting 4-byte order ARGB color in order RGBA. </p>

<p>Definition at line <a class="el" href="color__functions_8h_source.html#l00132">132</a> of file <a class="el" href="color__functions_8h_source.html">color_functions.h</a>.</p>

</div>
</div>
<a class="anchor" id="aba8cda4d109bd7e51e5394a97118fdf0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float gbmath::average_arithmetic </td>
          <td>(</td>
          <td class="paramtype">const float *&#160;</td>
          <td class="paramname"><em>pf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const unsigned int&#160;</td>
          <td class="paramname"><em>num</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Compute and return the average (arithmetic) </p>

<p>Definition at line <a class="el" href="scalar_8h_source.html#l00323">323</a> of file <a class="el" href="scalar_8h_source.html">scalar.h</a>.</p>

</div>
</div>
<a class="anchor" id="a65e7295323df3c440084df0638b1e2af"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float gbmath::average_geometric </td>
          <td>(</td>
          <td class="paramtype">const float *&#160;</td>
          <td class="paramname"><em>pf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const unsigned int&#160;</td>
          <td class="paramname"><em>num</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Compute and return the geometric mean. </p>

<p>Definition at line <a class="el" href="scalar_8h_source.html#l00338">338</a> of file <a class="el" href="scalar_8h_source.html">scalar.h</a>.</p>

</div>
</div>
<a class="anchor" id="a5292b82144444629c81be0728104e8ab"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float gbmath::bilerp </td>
          <td>(</td>
          <td class="paramtype">const float&#160;</td>
          <td class="paramname"><em>a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const float&#160;</td>
          <td class="paramname"><em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const float&#160;</td>
          <td class="paramname"><em>c</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const float&#160;</td>
          <td class="paramname"><em>d</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>u</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>v</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>bilinear interpolation </p>

<p>Definition at line <a class="el" href="scalar_8h_source.html#l00076">76</a> of file <a class="el" href="scalar_8h_source.html">scalar.h</a>.</p>

</div>
</div>
<a class="anchor" id="ab28d0d43c10be205a0fc2aa114241330"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::cartesianToSpherical </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>z</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float &amp;&#160;</td>
          <td class="paramname"><em>rho</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float &amp;&#160;</td>
          <td class="paramname"><em>phi</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float &amp;&#160;</td>
          <td class="paramname"><em>theta</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>All angles are in radians. rho = distance from origin O to point P (i.e., length of OP) phi = angle between OP and the XZ plane theta = angle between X-axis and OP projected onto XZ plane. </p>

<p>Definition at line <a class="el" href="scalar_8h_source.html#l00131">131</a> of file <a class="el" href="scalar_8h_source.html">scalar.h</a>.</p>

</div>
</div>
<a class="anchor" id="a30da8e56355a72f9d2565cbf89179153"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool gbmath::check </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>f</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Check the value the correct value. </p>

<p>Definition at line <a class="el" href="scalar_8h_source.html#l00026">26</a> of file <a class="el" href="scalar_8h_source.html">scalar.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac312471790333df7fed15517524443b9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool gbmath::check </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>d</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Check the value the correct value. </p>

<p>Definition at line <a class="el" href="scalar_8h_source.html#l00036">36</a> of file <a class="el" href="scalar_8h_source.html">scalar.h</a>.</p>

</div>
</div>
<a class="anchor" id="a30b7c446b59840332a8e001a80316bc5"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">T gbmath::clamp </td>
          <td>(</td>
          <td class="paramtype">const T &amp;&#160;</td>
          <td class="paramname"><em>v</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const T &amp;&#160;</td>
          <td class="paramname"><em>l</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const T &amp;&#160;</td>
          <td class="paramname"><em>u</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
        <tr>
          <td align="right">throw </td><td>(</td><td colspan="2"></td>
        </tr>
        <tr>
          <td align="right"></td><td>)</td><td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>reduction in the range between </p>

<p>Definition at line <a class="el" href="scalar_8h_source.html#l00083">83</a> of file <a class="el" href="scalar_8h_source.html">scalar.h</a>.</p>

</div>
</div>
<a class="anchor" id="a4b9ccbf89172906f824d9c223a458ff9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool gbmath::closeEnough </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>f1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>f2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Determines whether the two floating-point values f1 and f2 are close enough together that they can be considered equal. </p>

<p>Definition at line <a class="el" href="scalar_8h_source.html#l00181">181</a> of file <a class="el" href="scalar_8h_source.html">scalar.h</a>.</p>

</div>
</div>
<a class="anchor" id="aa1127e0ed6083818b38a89c063365c74"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float gbmath::clump </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>value</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>_min</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>_max</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Clipping values ​​in a range between minimum and maximum inclusive. </p>

<p>Definition at line <a class="el" href="scalar_8h_source.html#l00192">192</a> of file <a class="el" href="scalar_8h_source.html">scalar.h</a>.</p>

</div>
</div>
<a class="anchor" id="a9a4d6352a51c3b2c5a4ba8b543586bf6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1color3__24.html">color3_24</a> gbmath::color_rgb_fFrom_uicolor </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>color</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Conversion uicolor32_t in color_rgb24_s. </p>

<p>Definition at line <a class="el" href="color__functions_8h_source.html#l00289">289</a> of file <a class="el" href="color__functions_8h_source.html">color_functions.h</a>.</p>

</div>
</div>
<a class="anchor" id="aab8f1f7e8def74f47797bb70d8dffdb1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacegbmath.html#ad73cf6b0a8f2b7d9b6d5156f515f132a">byte_t</a> gbmath::colorExtractA </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>color</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="color__functions_8h_source.html#l00145">145</a> of file <a class="el" href="color__functions_8h_source.html">color_functions.h</a>.</p>

</div>
</div>
<a class="anchor" id="ab00be5c4d690a506a8d1bf9f5adf2961"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float gbmath::colorExtractAf </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>color</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="color__functions_8h_source.html#l00172">172</a> of file <a class="el" href="color__functions_8h_source.html">color_functions.h</a>.</p>

</div>
</div>
<a class="anchor" id="a5955f8a061aaa544c84d602d78f8e4ca"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacegbmath.html#ad73cf6b0a8f2b7d9b6d5156f515f132a">byte_t</a> gbmath::colorExtractB </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>color</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="color__functions_8h_source.html#l00160">160</a> of file <a class="el" href="color__functions_8h_source.html">color_functions.h</a>.</p>

</div>
</div>
<a class="anchor" id="adb888739df93952d70b9d9b25cd7de96"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float gbmath::colorExtractBf </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>color</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="color__functions_8h_source.html#l00190">190</a> of file <a class="el" href="color__functions_8h_source.html">color_functions.h</a>.</p>

</div>
</div>
<a class="anchor" id="a383d9596a5a819945f767301380f32c4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacegbmath.html#ad73cf6b0a8f2b7d9b6d5156f515f132a">byte_t</a> gbmath::colorExtractG </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>color</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="color__functions_8h_source.html#l00155">155</a> of file <a class="el" href="color__functions_8h_source.html">color_functions.h</a>.</p>

</div>
</div>
<a class="anchor" id="a82814283317292d01794d61e4fb32bab"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float gbmath::colorExtractGf </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>color</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="color__functions_8h_source.html#l00184">184</a> of file <a class="el" href="color__functions_8h_source.html">color_functions.h</a>.</p>

</div>
</div>
<a class="anchor" id="ade6c81511566ea396750bf66c30e5798"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacegbmath.html#ad73cf6b0a8f2b7d9b6d5156f515f132a">byte_t</a> gbmath::colorExtractR </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>color</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="color__functions_8h_source.html#l00150">150</a> of file <a class="el" href="color__functions_8h_source.html">color_functions.h</a>.</p>

</div>
</div>
<a class="anchor" id="a466fe09e04657cfa09f9f22268fc3b67"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float gbmath::colorExtractRf </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>color</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="color__functions_8h_source.html#l00178">178</a> of file <a class="el" href="color__functions_8h_source.html">color_functions.h</a>.</p>

</div>
</div>
<a class="anchor" id="a2e5e11ee8e8eab42afd129f7bc63c679"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::colorRgb24_SwapGB </td>
          <td>(</td>
          <td class="paramtype">color3_24 &amp;&#160;</td>
          <td class="paramname"><em>color</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="color__functions_8h_source.html#l00279">279</a> of file <a class="el" href="color__functions_8h_source.html">color_functions.h</a>.</p>

</div>
</div>
<a class="anchor" id="acffc53836a6f186ac1a1c4b712e2d9a7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::colorRgb24_SwapRB </td>
          <td>(</td>
          <td class="paramtype">color3_24 &amp;&#160;</td>
          <td class="paramname"><em>color</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="color__functions_8h_source.html#l00271">271</a> of file <a class="el" href="color__functions_8h_source.html">color_functions.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac156a4f2083848be07c449693eb77830"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::colorRgb24_SwapRG </td>
          <td>(</td>
          <td class="paramtype">color3_24 &amp;&#160;</td>
          <td class="paramname"><em>color</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="color__functions_8h_source.html#l00263">263</a> of file <a class="el" href="color__functions_8h_source.html">color_functions.h</a>.</p>

</div>
</div>
<a class="anchor" id="a22d8d4b65f5d15cda17e111973024568"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::colorSetA </td>
          <td>(</td>
          <td class="paramtype">unsigned int &amp;&#160;</td>
          <td class="paramname"><em>col</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">byte_t&#160;</td>
          <td class="paramname"><em>a</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="color__functions_8h_source.html#l00203">203</a> of file <a class="el" href="color__functions_8h_source.html">color_functions.h</a>.</p>

</div>
</div>
<a class="anchor" id="a943df2f31c8f208982bfeb0dfdb79bcd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::colorSetAf </td>
          <td>(</td>
          <td class="paramtype">unsigned int &amp;&#160;</td>
          <td class="paramname"><em>color</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>a</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="color__functions_8h_source.html#l00234">234</a> of file <a class="el" href="color__functions_8h_source.html">color_functions.h</a>.</p>

</div>
</div>
<a class="anchor" id="a63d997c76f20c4b6879cd2991c375d9e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::colorSetB </td>
          <td>(</td>
          <td class="paramtype">unsigned int &amp;&#160;</td>
          <td class="paramname"><em>col</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">byte_t&#160;</td>
          <td class="paramname"><em>b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="color__functions_8h_source.html#l00221">221</a> of file <a class="el" href="color__functions_8h_source.html">color_functions.h</a>.</p>

</div>
</div>
<a class="anchor" id="a5a0a13beb72de2527e364cd39b312db3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::colorSetBf </td>
          <td>(</td>
          <td class="paramtype">unsigned int &amp;&#160;</td>
          <td class="paramname"><em>color</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="color__functions_8h_source.html#l00250">250</a> of file <a class="el" href="color__functions_8h_source.html">color_functions.h</a>.</p>

</div>
</div>
<a class="anchor" id="accf72509c11100fd01de8bb3f95e7e5a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::colorSetG </td>
          <td>(</td>
          <td class="paramtype">unsigned int &amp;&#160;</td>
          <td class="paramname"><em>col</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">byte_t&#160;</td>
          <td class="paramname"><em>g</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="color__functions_8h_source.html#l00215">215</a> of file <a class="el" href="color__functions_8h_source.html">color_functions.h</a>.</p>

</div>
</div>
<a class="anchor" id="ace9092fff1027b38b1aff05dfe9bd308"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::colorSetGf </td>
          <td>(</td>
          <td class="paramtype">unsigned int &amp;&#160;</td>
          <td class="paramname"><em>color</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>g</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="color__functions_8h_source.html#l00244">244</a> of file <a class="el" href="color__functions_8h_source.html">color_functions.h</a>.</p>

</div>
</div>
<a class="anchor" id="acc2f073f0400b3b83e286fb32abd84b1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::colorSetR </td>
          <td>(</td>
          <td class="paramtype">unsigned int &amp;&#160;</td>
          <td class="paramname"><em>col</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">byte_t&#160;</td>
          <td class="paramname"><em>r</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="color__functions_8h_source.html#l00209">209</a> of file <a class="el" href="color__functions_8h_source.html">color_functions.h</a>.</p>

</div>
</div>
<a class="anchor" id="a498e22cb9657c7275d83effa77dd487b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::colorSetRf </td>
          <td>(</td>
          <td class="paramtype">unsigned int &amp;&#160;</td>
          <td class="paramname"><em>color</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>r</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="color__functions_8h_source.html#l00239">239</a> of file <a class="el" href="color__functions_8h_source.html">color_functions.h</a>.</p>

</div>
</div>
<a class="anchor" id="a14a6ce40d9de3b9cc4168769a4007667"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::colorSwapGB </td>
          <td>(</td>
          <td class="paramtype">unsigned int &amp;&#160;</td>
          <td class="paramname"><em>color</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>exchange of componentsG и B . </p>

<p>Definition at line <a class="el" href="color__functions_8h_source.html#l00114">114</a> of file <a class="el" href="color__functions_8h_source.html">color_functions.h</a>.</p>

</div>
</div>
<a class="anchor" id="a051fc4a9302ce044eaed38596a16ed0c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::colorSwapRB </td>
          <td>(</td>
          <td class="paramtype">unsigned int &amp;&#160;</td>
          <td class="paramname"><em>color</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>exchange of components R и B . </p>

<p>Definition at line <a class="el" href="color__functions_8h_source.html#l00101">101</a> of file <a class="el" href="color__functions_8h_source.html">color_functions.h</a>.</p>

</div>
</div>
<a class="anchor" id="a86348fe401e57ebc7d1cb88ae56d87d2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::colorSwapRG </td>
          <td>(</td>
          <td class="paramtype">unsigned int &amp;&#160;</td>
          <td class="paramname"><em>color</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>exchange of components R и G . </p>

<p>Definition at line <a class="el" href="color__functions_8h_source.html#l00088">88</a> of file <a class="el" href="color__functions_8h_source.html">color_functions.h</a>.</p>

</div>
</div>
<a class="anchor" id="aefe79f6a1175131aecf3149f0fec6d49"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool gbmath::compare </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>epsilon</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="scalar_8h_source.html#l00019">19</a> of file <a class="el" href="scalar_8h_source.html">scalar.h</a>.</p>

</div>
</div>
<a class="anchor" id="ad2ec5e3673fe6cd0408e75e2c9c0f170"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float gbmath::cotan </td>
          <td>(</td>
          <td class="paramtype">const float&#160;</td>
          <td class="paramname"><em>f</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>cotangent </p>

<p>Definition at line <a class="el" href="scalar_8h_source.html#l00259">259</a> of file <a class="el" href="scalar_8h_source.html">scalar.h</a>.</p>

</div>
</div>
<a class="anchor" id="ab3b04e4d988b846e88d2b555bcca9540"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float gbmath::degreeToRadians </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>dgr</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Angle in degrees to radians. </p>

<p>Definition at line <a class="el" href="scalar_8h_source.html#l00272">272</a> of file <a class="el" href="scalar_8h_source.html">scalar.h</a>.</p>

</div>
</div>
<a class="anchor" id="aeb44b722761abeebc83964ceab6ce0f4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int gbmath::faster_floor </td>
          <td>(</td>
          <td class="paramtype">const float&#160;</td>
          <td class="paramname"><em>x</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="scalar_8h_source.html#l00364">364</a> of file <a class="el" href="scalar_8h_source.html">scalar.h</a>.</p>

</div>
</div>
<a class="anchor" id="a07b847494d285fb1532c8718a6cb2fbd"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::fill </td>
          <td>(</td>
          <td class="paramtype">T *&#160;</td>
          <td class="paramname"><em>dest</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const T&#160;</td>
          <td class="paramname"><em>val</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>num</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
        <tr>
          <td align="right">throw </td><td>(</td><td colspan="2"></td>
        </tr>
        <tr>
          <td align="right"></td><td>)</td><td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>fill the buffer dest value val number num. </p>

<p>Definition at line <a class="el" href="scalar_8h_source.html#l00091">91</a> of file <a class="el" href="scalar_8h_source.html">scalar.h</a>.</p>

</div>
</div>
<a class="anchor" id="a7b9af880500614372b44439d3d24aed9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool gbmath::is_power2 </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="scalar_8h_source.html#l00186">186</a> of file <a class="el" href="scalar_8h_source.html">scalar.h</a>.</p>

</div>
</div>
<a class="anchor" id="a30742374d53e9b267e9efa8dc80a0a91"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">T gbmath::lerp </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>alpha</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const T &amp;&#160;</td>
          <td class="paramname"><em>v0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const T &amp;&#160;</td>
          <td class="paramname"><em>v1</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
        <tr>
          <td align="right">throw </td><td>(</td><td colspan="2"></td>
        </tr>
        <tr>
          <td align="right"></td><td>)</td><td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Calculate the linear interpolation. </p>

<p>Definition at line <a class="el" href="scalar_8h_source.html#l00070">70</a> of file <a class="el" href="scalar_8h_source.html">scalar.h</a>.</p>

</div>
</div>
<a class="anchor" id="a30eec791d5b4d5df94f6c11a991b8239"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float gbmath::lerp </td>
          <td>(</td>
          <td class="paramtype">const float&#160;</td>
          <td class="paramname"><em>f1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const float&#160;</td>
          <td class="paramname"><em>f2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const float&#160;</td>
          <td class="paramname"><em>k</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Linear interpolation. </p>

<p>Definition at line <a class="el" href="scalar_8h_source.html#l00287">287</a> of file <a class="el" href="scalar_8h_source.html">scalar.h</a>.</p>

</div>
</div>
<a class="anchor" id="a629a1e67ad42dd4536a582f28491a13b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static int gbmath::LineSegmentIntersection </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>l1x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>l1y1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>l1x2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>l1y2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>l2x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>l2y1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>l2x2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>l2y2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float *&#160;</td>
          <td class="paramname"><em>m1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float *&#160;</td>
          <td class="paramname"><em>c1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float *&#160;</td>
          <td class="paramname"><em>m2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float *&#160;</td>
          <td class="paramname"><em>c2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float *&#160;</td>
          <td class="paramname"><em>intersection_X</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float *&#160;</td>
          <td class="paramname"><em>intersection_Y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="segment2_8cpp_source.html#l00050">50</a> of file <a class="el" href="segment2_8cpp_source.html">segment2.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="adde6fcae4674b62b13d98835ab644ff5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int gbmath::make_color_argb </td>
          <td>(</td>
          <td class="paramtype">byte_t&#160;</td>
          <td class="paramname"><em>a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">byte_t&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">byte_t&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">byte_t&#160;</td>
          <td class="paramname"><em>b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Building a color-by-byte. Alpha One. </p>

<p>Definition at line <a class="el" href="color__functions_8h_source.html#l00022">22</a> of file <a class="el" href="color__functions_8h_source.html">color_functions.h</a>.</p>

</div>
</div>
<a class="anchor" id="a1e70d560d8a1eb297da7c8b457e4ecf8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int gbmath::make_color_rgba </td>
          <td>(</td>
          <td class="paramtype">byte_t&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">byte_t&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">byte_t&#160;</td>
          <td class="paramname"><em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">byte_t&#160;</td>
          <td class="paramname"><em>a</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Building a color-by-byte. Alfa last. </p>

<p>Definition at line <a class="el" href="color__functions_8h_source.html#l00031">31</a> of file <a class="el" href="color__functions_8h_source.html">color_functions.h</a>.</p>

</div>
</div>
<a class="anchor" id="a090e1dac80cfc9de247cb2232a8d53ee"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int gbmath::make_rgba </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>a</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The construction of an integer-valued color on components float (0.0f ... 1.0f) </p>

<p>Definition at line <a class="el" href="color__functions_8h_source.html#l00050">50</a> of file <a class="el" href="color__functions_8h_source.html">color_functions.h</a>.</p>

</div>
</div>
<a class="anchor" id="a92e2579b3533ef25c04dddb004adb4f2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float gbmath::max3 </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>c</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get an average of 3 values. </p>

<p>Definition at line <a class="el" href="scalar_8h_source.html#l00315">315</a> of file <a class="el" href="scalar_8h_source.html">scalar.h</a>.</p>

</div>
</div>
<a class="anchor" id="afb3b41ebf2f06be87644ba1cfa8487c8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float gbmath::normalize_angle </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>angle</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Normalization of the angle of rotation angle. Cast the value in the range -PI ... + PI . </p>

<p>Definition at line <a class="el" href="scalar_8h_source.html#l00278">278</a> of file <a class="el" href="scalar_8h_source.html">scalar.h</a>.</p>

</div>
</div>
<a class="anchor" id="ad9e70f8fc15c2f3f164ed07448dd3b53"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float gbmath::radiansToDegree </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>rad</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Angle in radians to degrees. </p>

<p>Definition at line <a class="el" href="scalar_8h_source.html#l00265">265</a> of file <a class="el" href="scalar_8h_source.html">scalar.h</a>.</p>

</div>
</div>
<a class="anchor" id="ab6491049b7dbd6e1bdc31cb41c8660b5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float gbmath::random </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>random values ​​in the range ( 0.0f ... 1.0f ) </p>

<p>Definition at line <a class="el" href="scalar_8cpp_source.html#l00013">13</a> of file <a class="el" href="scalar_8cpp_source.html">scalar.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a7f623b048220632d6764650e2e084e06"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float gbmath::random </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>min</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>max</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="scalar_8cpp_source.html#l00030">30</a> of file <a class="el" href="scalar_8cpp_source.html">scalar.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="abadfca65c741ff7cbfec5a354f13c9f3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int gbmath::rgba_to_argb </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>val</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Converting 4-byte RGBA color order in the order ARGB. </p>

<p>Definition at line <a class="el" href="color__functions_8h_source.html#l00125">125</a> of file <a class="el" href="color__functions_8h_source.html">color_functions.h</a>.</p>

</div>
</div>
<a class="anchor" id="a2835c23a3b974829144107d2e021fbac"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int gbmath::round </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>f</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>rounding . </p>

<p>Definition at line <a class="el" href="scalar_8h_source.html#l00293">293</a> of file <a class="el" href="scalar_8h_source.html">scalar.h</a>.</p>

</div>
</div>
<a class="anchor" id="a943dd559c743e425059e481a41d0e617"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float gbmath::safeAcos </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>x</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Same as acos(x), but if x is out of range, it is "clamped" to the nearest valid value. The value returned is in range 0...pi, the same as the standard C acos() function. </p>

<p>Definition at line <a class="el" href="scalar_8h_source.html#l00241">241</a> of file <a class="el" href="scalar_8h_source.html">scalar.h</a>.</p>

</div>
</div>
<a class="anchor" id="ad7acbedef3d45b46710884c401ac51fd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">BYTE gbmath::scale_byte </td>
          <td>(</td>
          <td class="paramtype">BYTE&#160;</td>
          <td class="paramname"><em>val</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>k</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="scalar_8h_source.html#l00356">356</a> of file <a class="el" href="scalar_8h_source.html">scalar.h</a>.</p>

</div>
</div>
<a class="anchor" id="ae98efd1a452855c4e8c7e8ef08bab2a1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float gbmath::sign </td>
          <td>(</td>
          <td class="paramtype">const float&#160;</td>
          <td class="paramname"><em>val</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the sign of <br/>
 x&gt;0 : 1 <br/>
 x=0 : 0 <br/>
 x&lt;0 : -1. </p>

<p>Definition at line <a class="el" href="scalar_8h_source.html#l00105">105</a> of file <a class="el" href="scalar_8h_source.html">scalar.h</a>.</p>

</div>
</div>
<a class="anchor" id="a273bd63fdf09037f17ea3ef69c037528"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int gbmath::sign2 </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>x</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the sign of <br/>
 x&gt;0 : 1 <br/>
 x=0 : 0 <br/>
 x&lt;0 : -1. </p>

<p>Definition at line <a class="el" href="scalar_8h_source.html#l00122">122</a> of file <a class="el" href="scalar_8h_source.html">scalar.h</a>.</p>

</div>
</div>
<a class="anchor" id="a1d44db3ba00e7255e2ddf760df556ffd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::sincos </td>
          <td>(</td>
          <td class="paramtype">const float&#160;</td>
          <td class="paramname"><em>a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float &amp;&#160;</td>
          <td class="paramname"><em>outSin</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float &amp;&#160;</td>
          <td class="paramname"><em>outCos</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>sine and cosine. </p>

<p>Definition at line <a class="el" href="scalar_8h_source.html#l00201">201</a> of file <a class="el" href="scalar_8h_source.html">scalar.h</a>.</p>

</div>
</div>
<a class="anchor" id="af60fd2cd2867f18928beb9f185e7c980"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float gbmath::smoothstep </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>x</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns a gradual transition of 'x' from 0 to 1 beginning at threshold 'a' and ending at threshold 'b'. References: [1] <a href="http://www.rendermanacademy.com/docs/smoothstep.htm">http://www.rendermanacademy.com/docs/smoothstep.htm</a> [2] <a href="http://www.brlcad.org/doxygen/d8/d33/noise_8c-source.html">http://www.brlcad.org/doxygen/d8/d33/noise_8c-source.html</a> [3] Natalya Tatarchuk, "Efficient High-Level Shader Development", Game Developers Conference Europe, August 2003. </p>

<p>Definition at line <a class="el" href="scalar_8h_source.html#l00159">159</a> of file <a class="el" href="scalar_8h_source.html">scalar.h</a>.</p>

</div>
</div>
<a class="anchor" id="a343f1f71e8a00aa022050fd353b0f84a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::sphericalToCartesian </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>rho</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>phi</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>theta</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float &amp;&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float &amp;&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float &amp;&#160;</td>
          <td class="paramname"><em>z</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>All angles are in radians. rho = distance from origin O to point P (i.e., length of OP) phi = angle between OP and the XZ plane theta = angle between X-axis and OP projected onto XZ plane. </p>

<p>Definition at line <a class="el" href="scalar_8h_source.html#l00142">142</a> of file <a class="el" href="scalar_8h_source.html">scalar.h</a>.</p>

</div>
</div>
<a class="anchor" id="af7ceb382df8a74edbe983b1745229cce"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float gbmath::sqr </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>x</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>x*x </p>

<p>Definition at line <a class="el" href="scalar_8h_source.html#l00052">52</a> of file <a class="el" href="scalar_8h_source.html">scalar.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a class="anchor" id="a8716514a61081ed9d35092a6f9da7490"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const float gbmath::C180 = 180.0f</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="__gbmath_8h_source.html#l00152">152</a> of file <a class="el" href="__gbmath_8h_source.html">_gbmath.h</a>.</p>

</div>
</div>
<a class="anchor" id="ab2ea19feab7a4493f7688629ec6292a2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const float gbmath::C180DIVPI = 57.29577951f</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>180/PI </p>

<p>Definition at line <a class="el" href="__gbmath_8h_source.html#l00147">147</a> of file <a class="el" href="__gbmath_8h_source.html">_gbmath.h</a>.</p>

</div>
</div>
<a class="anchor" id="a4ab4c7e160eed66713edcb1e926cc5c0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const float gbmath::C1BYPI = 0.3183098862f</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>1/PI </p>

<p>Definition at line <a class="el" href="__gbmath_8h_source.html#l00139">139</a> of file <a class="el" href="__gbmath_8h_source.html">_gbmath.h</a>.</p>

</div>
</div>
<a class="anchor" id="a19686b8454a2938e098035b0f28d5ca5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const float gbmath::C360 = 360.0f</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="__gbmath_8h_source.html#l00153">153</a> of file <a class="el" href="__gbmath_8h_source.html">_gbmath.h</a>.</p>

</div>
</div>
<a class="anchor" id="ab23d1bfb275d0216a2569e298013efcd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const float gbmath::C3PIDIV4 = 2.35619449f</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>3/4 PI </p>

<p>Definition at line <a class="el" href="__gbmath_8h_source.html#l00149">149</a> of file <a class="el" href="__gbmath_8h_source.html">_gbmath.h</a>.</p>

</div>
</div>
<a class="anchor" id="a7e6155dbbdc5d98f1519aa2ee81363f2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const float gbmath::CINV360 = 0.002777778f</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>1/360 </p>

<p>Definition at line <a class="el" href="__gbmath_8h_source.html#l00151">151</a> of file <a class="el" href="__gbmath_8h_source.html">_gbmath.h</a>.</p>

</div>
</div>
<a class="anchor" id="a591ce690a6eeb4e4d9f1301470edf3c1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const float gbmath::E = 2.718281828459f</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>e </p>

<p>Definition at line <a class="el" href="__gbmath_8h_source.html#l00161">161</a> of file <a class="el" href="__gbmath_8h_source.html">_gbmath.h</a>.</p>

</div>
</div>
<a class="anchor" id="acd96829ace89d35c295aac16fe50f3fc"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const float gbmath::EPSILON = 1.0e-6f</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="__gbmath_8h_source.html#l00136">136</a> of file <a class="el" href="__gbmath_8h_source.html">_gbmath.h</a>.</p>

</div>
</div>
<a class="anchor" id="a2dd89831f203f41d946f24ee98b0d9ef"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const float gbmath::HALF = 0.5f</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="__gbmath_8h_source.html#l00154">154</a> of file <a class="el" href="__gbmath_8h_source.html">_gbmath.h</a>.</p>

</div>
</div>
<a class="anchor" id="aacaa90ffca3501aafe00e049f758bb44"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const float gbmath::LN10 = 2.302585093f</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="__gbmath_8h_source.html#l00156">156</a> of file <a class="el" href="__gbmath_8h_source.html">_gbmath.h</a>.</p>

</div>
</div>
<a class="anchor" id="a43466f850581872f732373ec59ea473b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const float gbmath::PI = 3.1415926536f</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>PI. </p>

<p>Definition at line <a class="el" href="__gbmath_8h_source.html#l00138">138</a> of file <a class="el" href="__gbmath_8h_source.html">_gbmath.h</a>.</p>

</div>
</div>
<a class="anchor" id="ad2970432d290ae0239dcddcf1dcbf4c0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const float gbmath::PI2 = 6.283185307f</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>2*PI </p>

<p>Definition at line <a class="el" href="__gbmath_8h_source.html#l00141">141</a> of file <a class="el" href="__gbmath_8h_source.html">_gbmath.h</a>.</p>

</div>
</div>
<a class="anchor" id="adb4f7d70c4c59d84c2e0ad6c8ad0912b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const float gbmath::PI2_INV = 0.159154943f</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>1/(2PI) </p>

<p>Definition at line <a class="el" href="__gbmath_8h_source.html#l00150">150</a> of file <a class="el" href="__gbmath_8h_source.html">_gbmath.h</a>.</p>

</div>
</div>
<a class="anchor" id="a71b17b4c70993b257eb2339075bb576c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const float gbmath::PI_DIV_180 = 0.017453292f</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>PI/180. </p>

<p>Definition at line <a class="el" href="__gbmath_8h_source.html#l00146">146</a> of file <a class="el" href="__gbmath_8h_source.html">_gbmath.h</a>.</p>

</div>
</div>
<a class="anchor" id="a3b75f341c66121f5ebf825f274333fc4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const float gbmath::PI_DIV_2 = 1.570796326f</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>PI/2. </p>

<p>Definition at line <a class="el" href="__gbmath_8h_source.html#l00142">142</a> of file <a class="el" href="__gbmath_8h_source.html">_gbmath.h</a>.</p>

</div>
</div>
<a class="anchor" id="aedc35259a3d4f376f24750ee0a51c61a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const float gbmath::PI_DIV_4 = 0.785398163f</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>PI/4. </p>

<p>Definition at line <a class="el" href="__gbmath_8h_source.html#l00143">143</a> of file <a class="el" href="__gbmath_8h_source.html">_gbmath.h</a>.</p>

</div>
</div>
<a class="anchor" id="af049eac96bf93475d56105dd63dd789c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const float gbmath::PI_DIV_6 = 0.523598776f</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>PI/6. </p>

<p>Definition at line <a class="el" href="__gbmath_8h_source.html#l00144">144</a> of file <a class="el" href="__gbmath_8h_source.html">_gbmath.h</a>.</p>

</div>
</div>
<a class="anchor" id="ad4861e5ec3579f2289e6a102275538c8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const float gbmath::SQRT_2 = 1.4142135624f</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>sqrt(2) </p>

<p>Definition at line <a class="el" href="__gbmath_8h_source.html#l00158">158</a> of file <a class="el" href="__gbmath_8h_source.html">_gbmath.h</a>.</p>

</div>
</div>
<a class="anchor" id="afd14adf6dc63fdb829704c25a72fe72b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const float gbmath::SQRT_HALF = 0.7071067812f</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>sqrt(1/2) </p>

<p>Definition at line <a class="el" href="__gbmath_8h_source.html#l00159">159</a> of file <a class="el" href="__gbmath_8h_source.html">_gbmath.h</a>.</p>

</div>
</div>
<a class="anchor" id="a7111d442eef6cf58f0b5e0467c68509b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const float gbmath::TWO = 2.0f</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="__gbmath_8h_source.html#l00155">155</a> of file <a class="el" href="__gbmath_8h_source.html">_gbmath.h</a>.</p>

</div>
</div>
</div><!-- contents -->
<hr class="footer"/>
<!--address class="footer"-->
<!--small-->
<br>
&nbsp;&nbsp;&nbsp;<b>Project page:</b> &nbsp;<a target="_blank" href="https://code.google.com/p/gbmath/">https://code.google.com/p/gbmath/</a>&nbsp;&nbsp;<br>
&nbsp;&nbsp;&nbsp;<b>Doc page:</b> &nbsp;<a target="_blank" href="http://www.it.ks777.ru/docs">http://www.it.ks777.ru/docs</a>&nbsp;&nbsp;<br>
<br>
Generated on Sat Jul 27 2013 08:09:04 for gbmath by &#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.4
